import Cookies from 'js-cookie'

// 获取cookie的值
export function getToken(TokenKey) {
  return Cookies.get(TokenKey)
}
// cookie存入某个值
export function setToken(TokenKey,token) {
  return Cookies.set(TokenKey, token)
}
// 移出token
export function removeToken(TokenKey) {
  return Cookies.remove(TokenKey)
}
